package com.shanshan.crowd;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.session.FlushMode;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

/**
 * @Description
 * @ClassName CrowdMainClass
 * @Author 山山大魔王
 * @Date 2022/7/28 20:14
 * @Version 1.0
 */
@EnableFeignClients
@EnableDiscoveryClient
@EnableRedisHttpSession(flushMode = FlushMode.IMMEDIATE)
@SpringBootApplication
public class CrowdPortalMainClass {
    public static void main(String[] args) {
        SpringApplication.run(CrowdPortalMainClass.class, args);
    }
}
